﻿namespace MhAdmin.System;

/// <summary>
/// 邮件分页输入
/// </summary>
public class EmailPageInput : BasePageInput
{
    /// <summary>
    /// 邮件引擎
    /// </summary>
    public string MailType { get; set; }

    /// <summary>
    /// 邮件主题
    /// </summary>
    public string MailSubject { get; set; }
}

/// <summary>
/// 邮件推送本地输入
/// </summary>
public class EmailLocalSendInput
{
    /// <summary>
    /// 收件人邮箱
    /// </summary>
    [Required(ErrorMessage = "收件人邮箱不能为空")]
    public string ReceiverMail { get; set; }

    /// <summary>
    /// 邮件主题
    /// </summary>
    [Required(ErrorMessage = "邮件主题不能为空")]
    public string MailSubject { get; set; }

    /// <summary>
    /// 邮件正文
    /// </summary>
    [Required(ErrorMessage = "邮件正文不能为空")]
    public string MailBody { get; set; }
}
